home *** CD-ROM | disk | FTP | other *** search
- Subject: Focus Sets
- Sent: 8/2/96 6:35 PM
- Received: 8/5/96 8:42 AM
- From: Hutchings, Richard B. "Brad", brad@hutchings-software.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- I hate to ask these "how do I" questions, but I have been battling this one
- for two days and am totally confused at this point.
-
- This is for Rapid-I Button. Here's what its focus behavior needs to be.
- Like ODF Embed, the button can have (but doesn't always have) 1 embedded
- part (which is a label). Like ODF Button, when the user clicks on the
- Rapid-I Button or its embedded part, the button should track - neither the
- Rapid-I Button nor the embedded part should grab focii. If the user
- option-clicks on the embedded part, it should grab its desired focii. If
- the user option-clicks on the portion of the Rapid-I Button which is not
- the used shape of the embedded part, Rapid-I Button should grab its focii.
-
- The "RIButtonFrame" class is the only view class that Rapid-I Button uses.
- I don't actually use control views or the Mac's Control Manager.
-
- I tried using the "COptionBehavior" and "CButtonFrame" ways of dealing with
- focii from ODF Button. I also tried adding a "DoMouseDownInEmbeddedFrame"
- method to both the COptionBehavior and RIButtonFrame classes.Walking
- through the debugger, I can't find a consistent ordering to the execution
- path going through COptionBehavior::DoMouseDown,
- RIButtonFrame::GetFocusSet, and RIButtonFrame::DoMouseDown.
- RIButtonFrame::GetFocusSet can be called before or after
- COptionBehavior::DoMouseDown. I can't make any sense of it.
-
- So, how _should_ I go about getting this focus set stuff to work right?
-
- Brad
-
- <mailto: "Brad Hutchings" brad@hutchings-software.com>
- <http://www.hutchings-software.com>
-
- Got OpenDoc? Got Cyberdog? Then beta-test Rapid-I Button! Email me for more
- information...
-
-
-